package com.alks.function.data.request.pcfactoryquery;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
public class AddPurSendRequest {
    @ApiModelProperty(value = "订单号")
    private String purNo;

    @ApiModelProperty(value = "类型(PUR_TYPE)")
    private String slipType;

    @ApiModelProperty(value = "指令")
    private String purLot;

    @ApiModelProperty(value = "型体")
    private String purStyle;

    @ApiModelProperty(value = "配色")
    private String purColor;

    @ApiModelProperty(value = "订单数量")
    private String ordQty;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "正单用量")
    private Double qty;

    @ApiModelProperty(value = "预加量")
    private Double overQty;

    @ApiModelProperty(value = "多购数量")
    private Double minusQty;

    @ApiModelProperty(value = "已收数量")
    private Double sendQty;

    @ApiModelProperty(value = "未收数量")
    private Double unSendQty;

    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "订单ID")
    private String reqNo;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @ApiModelProperty(value = "订单时间")
    private LocalDate purDate;

}
